<%@ page language="java" pageEncoding="utf-8"%>
<%@ page import="java.util.*" %>
<%@ page isELIgnored="false" %> 

<%@ page import="net.ssta.core.db.RecordSet"%>
<%@ page import="net.ssta.core.db.Record"%>
<%@ page import="net.ssta.core.web.RequestKit"%>

<%
	String path = request.getContextPath();
	
	//获取技术需求列表
	RecordSet trackSet = (RecordSet)request.getAttribute("trackSet");
	String achievetitle = (String)request.getAttribute("achievetitle");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML>
<HEAD>
    <TITLE>会员成果跟踪-国家安科网</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=utf-8">
    <META http-equiv=x-ua-compatible content=ie=7>
    <META content="MSHTML 6.00.6000.17107" name=GENERATOR>
    <link href="<%=path%>/common1/css/layout.css" rel="stylesheet" type="text/css" />
	<link href="<%=path%>/common1/css/user.css" rel="stylesheet" type="text/css" />
    <LINK href="<%=path%>/includes/Fvalidate/style.css" type=text/css rel=stylesheet>
    <script type="text/javascript" src="<%=path%>/includes/DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="<%=path%>/includes/styleBase/js/jquery.js"></script>
	<script type="text/javascript" src="<%=path%>/includes/KindEditor/kindeditor.js"></script>    
    <script type="text/javascript" src="<%=path%>/includes/Fvalidate/Fvalidate.js"></script>

    <SCRIPT>  
	function _delete(trackid){
	
	if(confirm("您确定要删除所选中的信息？信息一旦删除将不能恢复！")){
		
		 $.ajax({
				type: "POST", url: "<%=path%>/membercenter/achievetrack?method=deleteTrack&trackid="+trackid,
				error:function(){alert("与服务器失去联系，请刷新本页面后再重试！");},
				success: function(msg){
					alert("删除操作成功!");
					window.location.reload();
				}
			 });
		}
	}
	
    function _infoshow(uuid)
	{
	 	window.location.href = "<%=path%>/membercenter/market?method=investShow&uuid="+uuid;
	}
	
	function _addTrack(uuid,title)
	{
		window.open("<%=path%>/membercenter1/achievetrack/achieveAdd.jsp?uuid="+uuid+"&kjcgtitle="+title+"","添加成果跟踪",'height=420,width=600,toolbar=no,menubar=no,resizable=no,location=no, status=no');
	}
    </SCRIPT>   
</HEAD>

<BODY>
 
<%@include file="../../common1/toplogin.jsp"%>
<%@include file="../../common1/topbanner.jsp"%>
<%@include file="../../common1/topmenu.jsp"%> 
 
<div id="contentmain">

	<div id="content_left">
	     
			<%@include file="../include/userbaseInfo.jsp"%>

	</div>
    
    <div id="content_right">
       <jsp:include   page="../include/baseTop.jsp"    flush="true">   
		      <jsp:param    name="open"    value="6"    />   
		</jsp:include>
      <Br />
      <div class="blue" style="align:center;font-size:14px;"><b><%=achievetitle%></b></div>
      <br>
      <table border="0" cellpadding="0" cellspacing="0" width="90%" align="center">
    	
        <%
		if(trackSet!=null){
			for(int i=0;i<trackSet.size();i++){
      			Record record = trackSet.get(i);
				String trackid = record.getString("ID","");
		%>
        <TR>
        	<TD width="50%" height="30"><%=record.getString("SUBMITDATE")%>&nbsp;&nbsp;科技成果进展情况</TD>
            <TD width="50%" >
                <div style="cursor:hand;" onClick="javascript:_delete('<%=trackid%>');" class="blue">删除</dev>&nbsp;
            </TD>
        </TR>
        <tr>
            <td height="80" align="center" colspan="2">
            <table border="0" cellpadding="10" cellspacing="1" width="100%" bgcolor="#9fd2e7" style="align:center;">
            	<tr>
                	<td bgcolor="#FFFFFF" height="80" valign="top">
                    <table border="0" cellpadding="0" cellspacing="0" width="95%">
                    <tr><td height="5"></td></tr>
                    <TR>
                    	<TD valign="top" align="left">
                    		<%=record.getString("TRACKINFO","")%>
                    	</TD>
                    </TR>
                    </table>
                    </td>
				</tr>
            </table>
            </td>         
        </tr>
        <%
			}
		}
		%>
       
        
	</table>
    </div>
</div>
    
<%@include file="../../common1/bottom.jsp"%>    

</BODY>
</HTML>
